package com.rjt.wechat.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 *  微信账号信息配置类
 * @author h
 *
 */
@Component
@ConfigurationProperties(prefix = "wechat")
public class WechatAccountConfig {

    /**
     * 公众平台id
     */
    private String mpAppId;

    /**
     * 公众平台密钥
     */
    private String mpAppSecret;


    /**
     * 微信模版id
     */
    private String templateId;
    
    /**
     *接口配置的token
     */
    private String token;
    
    /**
     *接口配置的aseKey
     */
    private String aseKey;
    

	/**
	 * @return the mpAppId
	 */
	public String getMpAppId() {
		return mpAppId;
	}


	/**
	 * @param mpAppId the mpAppId to set
	 */
	public void setMpAppId(String mpAppId) {
		this.mpAppId = mpAppId;
	}


	/**
	 * @return the mpAppSecret
	 */
	public String getMpAppSecret() {
		return mpAppSecret;
	}


	/**
	 * @param mpAppSecret the mpAppSecret to set
	 */
	public void setMpAppSecret(String mpAppSecret) {
		this.mpAppSecret = mpAppSecret;
	}


	/**
	 * @return the templateId
	 */
	public String getTemplateId() {
		return templateId;
	}


	/**
	 * @param templateId the templateId to set
	 */
	public void setTemplateId(String templateId) {
		this.templateId = templateId;
	}


	/**
	 * @return the token
	 */
	public String getToken() {
		return token;
	}


	/**
	 * @param token the token to set
	 */
	public void setToken(String token) {
		this.token = token;
	}


	/**
	 * @return the aseKey
	 */
	public String getAseKey() {
		return aseKey;
	}


	/**
	 * @param aseKey the aseKey to set
	 */
	public void setAseKey(String aseKey) {
		this.aseKey = aseKey;
	}

    
}
